import { IFastBindConfig } from './fastBind';

export class IComponentHelper {
  propMerge?: Record<
    string,
    {
      /* 用于未定义component.onXXX/request的组件参数补充setter所需的template */
      templateActionName?: string;
      templateActionDesc?: string;
      template?: string;
    }
  >;
  fastBind?: IFastBindConfig;
  publicMethods?: IComponentHelperPublicMethod[];
}

export class IComponentHelperPublicMethod {
  name: string;
  desc: string;
  code: string;
}
